﻿using System;

namespace ConsoleApp7
{
    class Program
    {
        static void Main(string[] args)
        {


            DateTime time = DateTime.Now;


            var dt = new DateTime(2020, 01, 03);


            TimeSpan ts = time - dt;


            Console.WriteLine("一共放假了{0}天", ts.Days);



            Console.WriteLine();




            var str = "我是年少的欢喜";

            Console.WriteLine(str);
            Console.WriteLine();
            for(int i = str.Length - 1; i >= 0; i --)
            {
                Console.WriteLine(str[i]);
            }
            var str1 = str.Insert(7, "哈哈");
            Console.WriteLine(str1);
        }
    }

}
